.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0 32px;
  height: 60px;
  box-shadow: 0 2px 8px #f0f1f2;
  position: relative;
  z-index: 10;
  transition: box-shadow 0.2s;
}

.header-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  animation: fadeIn 0.2s;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  margin-right: 32px;
  color: #ff9800;
}

.nav-item {
  position: relative;
  margin: 0 20px;
  cursor: pointer;
  font-size: 16px;
  line-height: 60px;
}

.dropdown {
  position: absolute;
  top: 60px;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 4px;
  padding: 16px;
  z-index: 100;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px);}
  to { opacity: 1; transform: translateY(0);}
}

.dropdown-content > div {
  padding: 8px 0;
  cursor: pointer;
}
.dropdown-content > div:hover {
  background: #f5f5f5;
}

.nav-search {
  display: flex;
  align-items: center;
  background: #fafbfc;
  border-radius: 24px;
  padding: 0 12px;
  height: 40px;
  margin-left: 40px;
  box-shadow: 0 2px 8px #f0f1f2;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.header-nav.sticky .nav-search {
  opacity: 1;
  pointer-events: auto;
}
.search-select {
  border: none;
  background: transparent;
  font-size: 15px;
  margin-right: 8px;
  color: #888;
}
.nav-search input {
  height: 32px;
  border-radius: 16px;
  border: none;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: transparent;
}
.nav-search .search-btn {
  background: linear-gradient(90deg, #ff9800, #ff5e62);
  border: none;
  color: #fff;
  border-radius: 16px;
  margin-left: 8px;
  padding: 0 16px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-search .search-btn svg {
  margin-right: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
}
.login-entry {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #222;
  margin-left: 24px;
}
.login-entry img {
  border-radius: 50%;
  background: #f5f5f5;
}
.login-entry:hover {
  color: #ff9800;
}
